#ifndef __APP_TASK_H__
#define __APP_TASK_H__

#include "App_Flank.h"
#include "App_LumbarSupport.h"
#include "App_Massage.h"
#include "Common_Debug.h"
#include "Inf_FourwayKey.h"
#include "Inf_SolenoidValve.h"
#include "queue.h"

/* 起始任务 */
#define START_TASK_NAME        "startTask"
#define START_TASK_STACK_DEPTH 128
#define START_TASK_PRIORITY    20

/* 按摩任务 */
#define MASSAGE_TASK_NAME        "massageTask"
#define MASSAGE_TASK_STACK_DEPTH 128
#define MASSAGE_TASK_PRIORITY    8
#define MASSAGE_TASK_CYCLE       10

/* 按键任务 */
#define KEY_TASK_NAME        "keyTask"
#define KEY_TASK_STACK_DEPTH 128
#define KEY_TASK_PRIORITY    9
#define KEY_TASK_CYCLE       10

void App_Task_StartFreeRTOS(void);

#endif
